package com.zg.nacos.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/6/24 18:00
 */
@ApiModel
@Data
public class HistoryInfoReq extends NacosReq{
    @ApiModelProperty(value = "配置数据ID，唯一标识", example = "zg-test.yml")
    @NotEmpty(message = "配置数据ID不能为空")
    private String dataId;

    @ApiModelProperty(value = "配置所属分组", example = "DEFAULT_GROUP")
    @NotEmpty(message = "配置所属分组不能为空")
    private String group;
    /**
     *
     */
    @ApiModelProperty(value = "命名空间", required = true)
    @NotEmpty(message = "命名空间不能为空")
    private String tenant;

    @ApiModelProperty(value = "配置记录", required = true)
    @NotEmpty(message = "配置记录不能为空")
    private String nid;
}
